package com.example.HaiDLaobackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("category")
public class CategoryEntity {
	@TableId(type = IdType.AUTO)
	private Long id;
	private String name;
	private Long parentId; // 0 for root
	private Integer sortOrder;
	private Integer status; // 1:show 0:hidden
}


